<?php

namespace App\Models;

class FootagePart extends Base
{
    /**
     * 音频（一对一关系）
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function audio() {
        return $this->belongsTo(Audio::class);
    }

    /**
     * 视频（一对一关系）
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function video() {
        return $this->belongsTo(Video::class);
    }

    /**
     * 镜头组（一对一关系）
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function footage() {
        return $this->belongsTo(Footage::class);
    }
}
